package com.kongfanyu.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceFallback implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentHystrixServiceFallback.paymentInfo_OK------";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "=====PaymentHystrixServiceFallback.paymentInfo_Timeout";
    }
}
